package com.itheima.bufferstream;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;

/*
BufferedReader
 */
public class Demo03 {

    public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new FileReader("day13\\aaa.txt"));

        /*String s = reader.readLine();
        System.out.println(s);
        String s1 = reader.readLine();
        System.out.println(s1);*/
        String s;
        while((s=reader.readLine())!=null){
            System.out.println(s);
        }
        reader.close();


    }

}
